﻿using Opc.Ua;
using SHRIS.MIS.Common.Enum.APIExternal;
using SHRIS.MIS.Entity.ScadaBaseInfo;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace SHRIS.MIS.Service.Device
{
    public interface IOpcDevice
    {

        void CreateSubscription();


        string GetDeviceCode();

        bool WriteValue(string tag, string value);

        bool WriteValues(List<string> tags, List<string> values);

        DataValue ReadValue(string dataTag);

        List<DataValue> ReadValues(List<string> nodeIds);

    }
}
